﻿using SingleUserMall.Common;
using SingleUserMall.Mall.Form;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SingleUserMall.Items.Form
{
    public class LimitItemSearch : PagedForm
    {
        /// <summary>
        /// 排序选项（0：今日已经开始，1：今日还未开始，2：明日开始）
        /// </summary>
        public LimitOption Option { get; set; }
        /// <summary>
        /// 商店id
        /// </summary>
        public long? StoreId { get; set; }

    }

    public enum LimitOption : int
    {
        /// <summary>
        /// 今日已经开始
        /// </summary>
        TodayStart = 0,
        /// <summary>
        /// 今日还未开始
        /// </summary>
        TodayNoStart = 1,
        /// <summary>
        /// 明日开始
        /// </summary>
        TomorrowStart = 2,
    }
}
